home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / LgcyPlus / disk2 / CONFIG._ / CONFIG.
Encoding:
Text File  |  2001-03-02  |  12.8 KB  |  257 lines

  1. 10    !# RE-SAVE "CONFIG"
  2. 20    !
  3. 30    !#                            N O T E
  4. 40    !# This configuration file allows you to customize certain parameters of
  5. 50    !# BPLUS.  Invalid values can render BPLUS practically unusable, until
  6. 60    !# corrected.  Before modifying any values, make sure you understand the
  7. 70    !# effects of your changes.
  8. 80    !
  9. 90    !# The HTBasic for Windows SETUP program makes no attempt to preserve any
  10. 100   !# modifications to any existing CONFIG file(s).
  11. 110   !
  12. 120   !# This BPLUS CONFIG file MUST be SAVED/RE-SAVED into a regular DOS type
  13. 130   !# file. If you use any editor other than HTBasic for Windows, save the
  14. 140   !# file as standard ASCII text. In this case, the line numbers through
  15. 150   !# initial exclamation point (e.g., "120   !") are optional. If using the
  16. 160   !# HTBasic for Windows editor, use one of the following methods to save
  17. 170   !# this file:
  18. 180   !
  19. 190   !# a. RE-SAVE "CONFIG" into copy of original CONFIG (preserves file type).
  20. 200   !#
  21. 210   !# b. CONFIGURE SAVE ASCII OFF
  22. 220   !#    SAVE "CONFIG"
  23. 230   !#
  24. 240   !# c. CREATE "CONFIG",1
  25. 250   !#    RE-SAVE "CONFIG"
  26. 260   !
  27. 270   !# BPLUS searches for CONFIG (after LOAD BIN "BPLUS" or SCRATCH A) in the
  28. 280   !# following locations (listed in search order):
  29. 290   !#   CONFIG in current MSI
  30. 300   !#   $HOME/CONFIG  ($HOME is typically your login directory)
  31. 310   !#   install location on current msus, typically /HTBWIN/CONFIG
  32. 320   !#   /PLUS/CONFIG on current msus
  33. 330   !#   if current msus <> install msus, repeat above two for install msus
  34. 340   !
  35. 350   !
  36. 360   !@ system MSI
  37. 370   !# The directory and (optional) msvs of the location BPLUS first looks for
  38. 380   !# ancilliary files (widgets, bitmaps, help, etc.), e.g., C:/BPLUS
  39. 390   !# C:/BPLUS
  40. 400   !
  41. 410   !@ system font
  42. 420   !# The default is that used by HTBasic for Windows; otherwise, specify
  43. 430   !# request in <width>X<height> format, e.g. 8X16
  44. 440   !  default
  45. 450   !
  46. 460   !@ SLIDER widget
  47. 470   !  initial_delay  500  # Delay before auto-repeat starts (milliSec.)
  48. 480   !  repeat_delay   100  # Delay between auto_repeat scrolls (milliSec.)
  49. 490   !
  50. 500   !@ context help
  51. 510   !  provide_defaults    true # Default widget's help topic is widget's name
  52. 520   !  f1_is_help          true # key f1 provides help for widget with focus
  53. 530   !  rht_ms_btn_is_help  true # right mouse button provides widget help
  54. 540   !  help_in_popup       true # help topics will be displayed in popup window
  55. 550   !
  56. 560   !@ Screen Builder widget order
  57. 570   !# This section defines which widgets are loaded into the Screen Builder
  58. 580   !# and the order in which they are displayed. The default order matches
  59. 590   !# that in previous versions of BPLUS; however, a more convenient order
  60. 600   !# might be alphabetical.
  61. 610   !  PANEL
  62. 620   !  PULLDOWN MENU
  63. 630   !  CASCADE MENU
  64. 640   !  MENU BUTTON
  65. 650   !  MENU TOGGLE
  66. 660   !  MENU SEPARATOR
  67. 670   !  SEPARATOR
  68. 680   !  PUSHBUTTON
  69. 690   !  RADIOBUTTON
  70. 700   !  TOGGLEBUTTON
  71. 710   !  SCROLLBAR
  72. 720   !  LABEL
  73. 730   !  STRING
  74. 740   !  NUMBER
  75. 750   !  KEYPAD
  76. 760   !  LIST
  77. 770   !  COMBO
  78. 780   !  BAR
  79. 790   !  BARS
  80. 800   !  FILE
  81. 810   !  LIMITS
  82. 820   !  METER
  83. 830   !  PRINTER
  84. 840   !  SLIDER
  85. 850   !  STRIPCHART
  86. 860   !  XY GRAPH
  87. 870   !  BITMAP
  88. 880   !  HPGL VIEW
  89. 890   !  CLOCK
  90. 900   !
  91. 910   !@ logical pens
  92. 920   !# This logical pen table specifies which physical pen to use for a
  93. 930   !# specified logical pen.  The actual color of the physical pen is
  94. 940   !# specified in the physical pen table. The contents of this is the
  95. 950   !# same as previous versions of BPLUS for compatibility; however,
  96. 960   !# only the following logical pens are used in HTBasic for Windows:
  97. 970   !# AppBackground, AppTbarForeground, DialogBoxBackground,
  98. 980   !# DialogBoxForeground, GraphBackground, GraphTrace1, GraphTrace2,
  99. 990   !# GraphTrace3, GraphTrace4, GraphTrace5, GraphTrace6, GraphTrace7,
  100. 1000  !# GraphTrace8, GrayForeground, ListBoxBackground, ListBoxForeground,
  101. 1010  !# ScrollBars, WidgetGreen, WidgetRed, WidgetWhite, WidgetYellow,
  102. 1020  !# WindowBackground, WindowForeground, WindowFrame.
  103. 1030  !#
  104. 1040  !#                           physical pen for system containing ...
  105. 1050  !# pen  pen name              2 pens  16 pens  64 pens  256 pens
  106. 1060  !  0     ActiveBorder            0       14      14       30
  107. 1070  !  1     ActiveTitleBar          1       14      14       30
  108. 1080  !  2     ActiveTBarForeground    0       1       1        17
  109. 1090  !  3     AppBackground           0       9       9        25
  110. 1100  !  4     AppBorder               0       14      14       30
  111. 1110  !  5     AppTitleBar             0       14      14       30
  112. 1120  !  6     AppTBarForeground       1       1       1        17
  113. 1130  !  7     ButtonBackground        0       11      11       27
  114. 1140  !  8     ButtonForeground        1       0       0        16
  115. 1150  !  9     DialogBoxBackground     0       8       8        24
  116. 1160  !  10    DialogBoxBorder         1       14      14       30
  117. 1170  !  11    DialogBoxForeground     1       1       1        17
  118. 1180  !  12    DialogBoxTitleBar       0       13      13       29
  119. 1190  !  13    DialogBoxTBarForeground 1       1       1        17
  120. 1200  !  14    ErrorTitleBar           0       2       2        18
  121. 1210  !  15    GrayForeground          0       15      15       31
  122. 1220  !  16    Highlight               1       13      13       29
  123. 1230  !  17    HighlightForeground     0       3       3        19
  124. 1240  !  18    HyperText               1       6       6        22
  125. 1250  !  19    InactiveBorder          0       11      11       27
  126. 1260  !  20    InactiveTitleBar        0       11      11       27
  127. 1270  !  21    InactiveTBarForeground  1       0       0        16
  128. 1280  !  22    ITGDisplayTraceBlue     1       5       5        21
  129. 1290  !  23    ITGDIsplayTraceGreen    1       4       4        20
  130. 1300  !  24    ITGPushButton           0       12      12       28
  131. 1310  !  25    ITGResetButton          0       10      10       26
  132. 1320  !  26    ListBoxForeground       1       0       0        16
  133. 1330  !  27    ListBoxBackground       0       15      15       31
  134. 1340  !  28    MenuBar                 0       11      11       27
  135. 1350  !  29    MenuForeground          1       0       0        16
  136. 1360  !  30    PopupWindowBackground   0       8       8        24
  137. 1370  !  31    PopupWindowFrame        1       0       0        16
  138. 1380  !  32    PopupWindowForeground   1       1       1        17
  139. 1390  !  33    ScrollBars              0       11      11       27
  140. 1400  !  34    WindowBackground        0       1       1        17
  141. 1410  !  35    WindowFrame             1       0       0        16
  142. 1420  !  36    WindowForeground        1       0       0        16
  143. 1430  !  37    Workspace               0       15      15       31
  144. 1440  !  38    WorkspaceBorder         0       14      14       30
  145. 1450  !  39    WorkspaceTitleBar       0       14      14       30
  146. 1460  !  40    WorkspaceTBarForeground 1       0       0        16
  147. 1470  !  41    WidgetGreen             1       4       4        20
  148. 1480  !  42    WidgetYellow            1       3       3        19
  149. 1490  !  43    WidgetRed               1       2       2        18
  150. 1500  !  44    WidgetWhite             1       1       1        17
  151. 1510  !  45    GraphBackground         0       13      13       29
  152. 1520  !  46    GraphTrace1             1       3       3        19
  153. 1530  !  47    GraphTrace2             1       5       5        21
  154. 1540  !  48    GraphTrace3             1       7       7        23
  155. 1550  !  49    GraphTrace4             1       4       4        20
  156. 1560  !  50    GraphTrace5             1       2       2        18
  157. 1570  !  51    GraphTrace6             1       14      14       30
  158. 1580  !  52    GraphTrace7             1       11      11       27
  159. 1590  !  53    GraphTrace8             1       1       1        17
  160. 1600  !  54    RMBBackground           0       0       0        0
  161. 1610  !  55    AppBackgroundCmp        1       6       54       230
  162. 1620  !  56    WindowBackgroundCmp     1       14      62       238
  163. 1630  !  57    PopupBackgroundCmp      1       7       55       231
  164. 1640  !  58    DialogBoxBackgroundCmp  1       7       55       231
  165. 1650  !
  166. 1660  !@ settable pens
  167. 1670  !# This section specifies which pens BPLUS is allowed to set.  The
  168. 1680  !# default is all pens.  You should minimally allow the pens referenced
  169. 1690  !# by the above logical pen table (those pens are listed first in the
  170. 1700  !# following lists).  Some widgets require more colors than those defined
  171. 1710  !# in the logical pen table:  those additional colors will be allocated
  172. 1720  !# from the list of settable pens.  However, a logical pen's color will
  173. 1730  !# never be changed.  If a widget wants more colors than are settable, it
  174. 1740  !# will use existing colors on a closest match basis.
  175. 1750  !#
  176. 1760  !  16_pen_system    0-15
  177. 1770  !  64_pen_system    0-15, 54, 55, 62, 16-63
  178. 1780  !  256_pen_system   16-31, 230, 231, 238, 0-15, 32-255
  179. 1790  !
  180. 1800  !@ physical pens
  181. 1810  !# This physical pen table specifies the color map value set for a
  182. 1820  !# specified physical pen.  If an entry for a required pen isn't
  183. 1830  !# currently provided in the table (e.g., pens 32-47), insert as
  184. 1840  !# required.  The actual display's color map is only altered for the pens
  185. 1850  !# that are referenced by a logical pen from the above logical pen table
  186. 1860  !# and are settable as specified above for the current graphics system
  187. 1870  !# (2-pen, 16-pen, 64-pen, or 256-pen).
  188. 1880  !#
  189. 1890  !# PEN   COLOR           RED     GREEN   BLUE
  190. 1900  !  0     black           0       0       0
  191. 1910  !  1     white           255     255     255
  192. 1920  !  2     red             255     0       0
  193. 1930  !  3     yellow          255     255     0
  194. 1940  !  4     green           0       255     0
  195. 1950  !  5     cyan            0       255     255
  196. 1960  !  6     blue            0       0       255
  197. 1970  !  7     magenta         255     0       255
  198. 1980  !  8     dialog gray     162     156     146
  199. 1990  !  9     parchment white 220      211     184
  200. 2000  !  10    forest green    70      180     70
  201. 2010  !  11    inactive gray   176     174     169
  202. 2020  !  12    evening gold    150     110     75
  203. 2030  !  13    french gray     105     95      80
  204. 2040  !  14    lavender        119     123     200
  205. 2050  !  15    beige gray      148     139     123
  206. 2060  !
  207. 2070  !  16    black           0       0       0
  208. 2080  !  17    white           255     255     255
  209. 2090  !  18    red             255     0       0
  210. 2100  !  19    yellow          255     255     0
  211. 2110  !  20    green           0       255     0
  212. 2120  !  21    cyan            0       255     255
  213. 2130  !  22    blue            0       0       255
  214. 2140  !  23    magenta         255     0       255
  215. 2150  !  24    dialog gray     162     156     146
  216. 2160  !  25    parchment white 220     211     184
  217. 2170  !  26    forest green    70      180     70
  218. 2180  !  27    inactive gray   176     174     169
  219. 2190  !  28    evening gold    150     110     75
  220. 2200  !  29    french gray     105     95      80
  221. 2210  !  30    lavender        119     123     200
  222. 2220  !  31    beige gray      148     139     123
  223. 2230  !
  224. 2240  !  48    black           0       0       0
  225. 2250  !  49    white           255     255     255
  226. 2260  !  50    red             255     0       0
  227. 2270  !  51    yellow          255     255     0
  228. 2280  !  52    green           0       255     0
  229. 2290  !  53    cyan            0       255     255
  230. 2300  !  54    blue            0       0       255
  231. 2310  !  55    magenta         255     0       255
  232. 2320  !  56    dialog gray     162     156     146
  233. 2330  !  57    parchment white 220     211     184
  234. 2340  !  58    forest green    70      180     70
  235. 2350  !  59    inactive gray   176     174     169
  236. 2360  !  60    evening gold    150     110     75
  237. 2370  !  61    french gray     105     95      80
  238. 2380  !  62    lavender        119     123     200
  239. 2390  !  63    beige gray      148     139     123
  240. 2400  !
  241. 2410  !  240   black           0       0       0
  242. 2420  !  241   white           255     255     255
  243. 2430  !  242   red             255     0       0
  244. 2440  !  243   yellow          255     255     0
  245. 2450  !  244   green           0       255     0
  246. 2460  !  245   cyan            0       255     255
  247. 2470  !  246   blue            0       0       255
  248. 2480  !  247   magenta         255     0       255
  249. 2490  !  248   dialog gray     162     156     146
  250. 2500  !  249   parchment white 220     211     184
  251. 2510  !  250   forest green    70      180     70
  252. 2520  !  251   inactive gray   176     174     169
  253. 2530  !  252   evening gold    150     110     75
  254. 2540  !  253   french gray     105     95      80
  255. 2550  !  254   lavender        119     123     200
  256. 2560  !  255   beige gray      148     139     123
  257.